#define _CRT_SECURE_NO_WARNINGS 1

#define ROW 9
#define COL 9
#define ROWS (ROW+2)
#define COLS (COL+2)
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
void InitMineBoard(char mine[ROWS][COLS], int row, int col);
void InitSurBoard(char surface[ROWS][COLS], int row, int col);
void DisplayBoard(char surface[ROWS][COLS], int rows, int cols);
void SetMine(char mine[ROWS][COLS], int row, int col);
int PlayerMove(char surface[ROWS][COLS],char mine[ROWS][COLS], int rows, int cols);
int JudgeMine(char surface[ROWS][COLS], char mine[ROWS][COLS], int row, int col);
int IsWin(char surface[ROWS][COLS], char mine[ROWS][COLS], int row, int col);
void SpaceGen(char surface[ROWS][COLS], char mine[ROWS][COLS], int x, int y);
